<template>
	<el-dialog
		:model-value="show"
		@closed="emit('closed')">
		<slot />
	</el-dialog>
</template>

<script setup lang="ts">
interface Prosp {
	show: boolean;
}
defineProps<Prosp>();
const emit = defineEmits(["closed"]);
</script>

<style lang="less" scoped></style>
